<!DOCTYPE html>
<html>

	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="__STATIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
		<script type="text/javascript" src="__STATIC__/jquery-2.1.3.js"></script>
		<link href="__STATIC__/cropper/cropper.min.css" rel="stylesheet" media="screen" />
		<script src="__STATIC__/cropper/cropper.min.js"></script>
		<script src="__STATIC__/cropper/crop_instru_edit.js"></script>
		<style>
			body {
				margin: 0;
			}
			label {
				color: grey;
			}
			code {
				display: none;
			}
			.highlight {
				border: 1px solid #e1e1e8;
				background: #fff;
				border-radius: 4px;
				margin: 15px 0;
				padding: 15px 0 0;
			}
			.pt5 {
				padding-top: 5px;
			}
		</style>
	</head>

	<body>
		<!-- top -->
		<div class="container">
			<div class="row">
				<!-- right -->
				<div class="col-xs-12">
					<div class="row highlight form-horizontal" style="padding:5px 10px;">
						<!-- 表单 begin -->
						<input type="hidden" name="id" value="{$user.id}" />
						<!--用户头像-->
						<div class="form-group" id="img_preview">
							<label for="title" class="col-xs-2 control-label">头像：</label>
							<div class="col-md-7">
								<div class="row">
									<div class="col-md-10">
										<div id="imgurl-a">
											<img src="{$user.imgurl}" style="width: 40%;"/>
										</div>
									</div>
								</div>
							</div>
						</div>
						<!--用户性别 -->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">性别：</label>
							<div class="col-xs-6">
								<if condition="$user['sex'] eq 3">
									<input value="保密" class="form-control" readonly/>
								</if>
								<if condition="$user['sex'] eq 2">
									<input value="女" class="form-control" readonly/>
								</if>
								<if condition="$user['sex'] eq 1">
									<input value="男" class="form-control" readonly/>
								</if>
							</div>
						</div>
						<!-- 用户名字 -->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">名字：</label>
							<div class="col-xs-6">
								<input type="text" class="form-control" name="nickname" id="nickname" value="{$user.nickname}" readonly>
							</div>
						</div>
						<!--用户地区 -->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">所处地区：</label>
							<div class="col-xs-6">
								<input  name="area" class="form-control" id="area" value="{$user.area}" readonly>
							</div>
						</div>
						<!--个人称谓 -->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">个人称谓：</label>
							<div class="col-xs-6">
								<input name="area" class="form-control" id="area" value="{$user.titlename}" readonly>
							</div>
						</div>
						<!--个人称谓 -->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">个人称谓：</label>
							<div class="col-xs-6">
								<input name="area" class="form-control" id="area" value="{$user.titlename}" readonly>
							</div>
						</div>
						<!--注册时间-->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">注册时间：</label>
							<div class="col-xs-6">
								<input type="text" class="form-control" value="{$user.rtime|date='y-m-d H:i',###}" readonly/>
							</div>
						</div>
						<!---->
						<div class="form-group">
							<label for="title" class="col-xs-2 control-label">最后登录时间：</label>
							<div class="col-xs-6">
								<input type="text" class="form-control" value="{$user.ltime|date='y-m-d H:i',###}" readonly/>
							</div>
						</div>
						
					</div>
				</div>
			</div>
		</div>

	</body>

</html>
